﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Tebbee.Business.Server.Model;

namespace Tebbee.Business.Server.Services
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IExchangeSer" in both code and config file together.
    [ServiceContract]
    public interface IExchangeSer
    {
        //[OperationContract]
        //ICollection<ExchangeLog_List_Result> ListExchanges(int startRow, string userName);

        [OperationContract]
        ICollection<MemberOrderViewModel> ListAllOrder(int startRow, string searchString, string searchDate, int status, int type);

        [OperationContract]
        String AddNewShoppingCart(List<MemberExchangeLog> productList);

        [OperationContract]
        String UpdateOrderStatus(MemberOrderViewModel order);

        [OperationContract]
        MemberFull GetMemberByUsername(string username);
    }
}
